Created: 2022-06-22
Tags: #fleeting
DEB packages for Debian/Ubuntu
RPM for Fedora/Suse
.appimage is universal software package format
appimage file installer in linux
When developers wish to submit software to the community,
they will submit it to an "apt" repository.
If approved, their programs and tools will be released into the wild.
When using thelscommand on a Ubuntu 20.04 Linux machine,
these files serve as the gateway/registry.

Managing Your Repositories (Adding and Removing)
Normally we use the apt command to install software onto our Ubuntu system.
The apt command is a part of the package management software also named apt.
Apt contains tools that allows us
add-apt-repository
Whilst you can install software through the use of package installers such as dpkg,
we're going to add the text editor Sublime Text to our Ubuntu machine
as a repository as it is not a part of the default Ubuntu repositories.
When adding software, the integrity of what we download is guaranteed by the use of what is called GPG (Gnu Privacy Guard) keys.
These keys are essentially a safety check from the developers saying, "here's our software".
If the keys do not match up to what your system trusts and what the developers used, then the software will not be downloaded.
So, to start, we need to add the GPG key for the developers of Sublime Text 3.
1. Let's download the GPG key and use apt-key to trust it:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
2. Now that we have added this key to our trusted list, we can now add Sublime Text 3's repository to our apt sources list. A good practice is to have a separate file for every different community/3rd party repository that we add.
2.1. Let's create a file named sublime-text.list in /etc/apt/sources.list.d and enter the repository information like so:

2.2. And now use Nano or a text editor of your choice to add & save the Sublime Text 3 repository into this newly created file:

2.3. After we have added this entry, we need to update apt to recognise this new entry -- this is done using the apt update command
2.4. Once successfully updated, we can now proceed to install the software that we have trusted and added to apt using apt install sublime-text
Removing packages is as easy as reversing. This process is done by using the add-apt-repository --remove ppa:PPA_Name/ppa command or by manually deleting the file that we previously fulfilled. Once removed, we can just use apt remove [software-name-here] i.e. apt remove sublime-text